<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
 <title>基本信息-招聘服务-拉勾网-最专业的互联网招聘平台</title>
<!-- <link rel="stylesheet" href="css/style.css">
 --><script src='js/jquery-3.2.1.js'></script>
<link href="http://www.lagou.com/images/favicon.ico" rel="Shortcut Icon">
    <link href="style/css/style.css" type="text/css" rel="stylesheet">
    <link href="style/css/external.min.css" type="text/css" rel="stylesheet">
    <link href="style/css/popup.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="style/js/jquery.1.10.1.min.js"></script>
    <script src="style/js/jquery.lib.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="style/js/ajaxfileupload.js"></script>
    <script src="style/js/additional-methods.js" type="text/javascript"></script>
     <script src="style/js/conv.js" type="text/javascript"></script>
    <script src="style/js/ajaxCross.json" charset="UTF-8"></script>
<script type="text/javascript">
	/* 文件上传失败服务器响应回来的提示 */
	var fileupload_error = "${param.fileupload_error}"
	if (fileupload_error != "") {
		alert("文件上传失败：文件大小不能超过12M,没有上传图片");
	}
	/* 仅仅是预览图片效果 */
	function changepic() {
		// 构造一个文件渲染对象
		var reads = new FileReader();
		// 得到文件列表数组
		var f = document.getElementById('file').files[0];
		// FileReader.readAsDataURL读取指定Blob或File的内容
		reads.readAsDataURL(f);
		// 拿到文件数据
		reads.onload = function(e) {
			// 显示图片
			document.getElementById('img3').src = this.result;
			$("#img3").css("display", "block");
		};
	}
</script>
</head>
<body>
	    <div id="body">
       <!-- end #header --><jsp:include page="company_resume/top.jsp"></jsp:include>
        <div id="container">

            <div style="" id="stepTip">
                <a></a>
                <img width="803" height="59" src="style/images/tiponce.jpg">
            </div>
            <div class="content_mid">
                <dl class="c_section c_section_mid">
                    <dt>
                        <h2><em></em>填写公司信息</h2>
                    </dt>
                    <dd>
                        <form id="stepForm" enctype="multipart/form-data" method="post"
				action="CompanyServlet?op=queryCompangone" autocomplete="off">
                            <div class="c_text_1">基本信息为必填项，是求职者加速了解公司的窗口，认真填写吧！</div>
                            <img width="668" height="56" class="c_steps" alt="第一步" src="style/images/step1.png">

                            <h3>公司全称</h3>
                            <input type="text" placeholder="请输入公司简称，如:拉勾网招聘" value="" name="cname" id="cname" class="valid" style="width: 600px">
                            <h3>公司简称</h3>
                            <!--非必填-->
                            <input type="text" placeholder="请输入公司简称，如:拉勾" value="" name="cshortname" id="cshortname" class="valid"style="width: 600px">

                            <h3>公司LOGO</h3>
                            <div class="userImage" style="width: 300px; height: 300px;margin-left: 150px; border:1px solid black;">
                                <img src="#" id="img3" style="width: 300px; height: 300px;" />
                            </div>
                            <!--非必填改必填-->
                            <div id="prompt3">
                                <!-- 2 accept="image/jpg,image/jpeg,image/png,image/gif" 规定上传文件的类型 -->
                                <input type="file" id="file" name="myfile" class="filepath"
                                    onchange="changepic()"
                                    accept="image/jpg,image/jpeg,image/png,image/gif">
                            </div>

                            <h3>公司网址</h3>
                            <input type="text" placeholder="请输入公司网址" value="" name="cwebsite" id="website" style="width: 600px">

                            <h3>所在城市</h3>
                            <input type="text" placeholder="请输入工作城市，如：北京" name="ccid" id="city"style="width: 600px">

                            <h3>行业领域</h3>
                            <div>
                               <input type="text" placeholder="请输入工作行业领域(移动互联网,电子商务,教育,安全等)" name="fid" id="city"style="width: 600px">
                            </div>

                            <h3>公司规模</h3>
                            <div>
                                <input type="text" placeholder="请输入公司规模(少于15人,15-50人,50-200人,200人以上)" name="cscale"style="width: 600px">
                            </div>

                            <h3>发展阶段</h3>
                            <div>
                                <input type="text" placeholder="请输入公司阶段(初创型,成长型,成熟型,已上市)"  value="" name="cdevelopment"style="width: 600px">
                            </div>
                            <h3>一句话介绍</h3>
                            <input type="text" placeholder="一句话概括公司亮点，如公司愿景、领导团队等，限50字" maxlength="50" name="cdescibe"
                                id="temptation"style="width: 600px">
                            <span style="display:none;" class="error" id="beError"></span>
                           <!--  <input type="hidden" id="companyId" name="companyId" value="25927">
                            <input type="hidden" id="companyName" name="companyName" value="福建平潭协创进出口贸易有限公司"> -->
                            <input type="submit" value="保存，下一步" id="stepBtn" class="btn_big fr">
                        </form>
                    </dd>
                </dl>
            </div>

            <!-------------------------------------弹窗lightbox  ----------------------------------------->
            <div style="display:none;">
                <!--图片上传-->
                <div style="width:650px;height:470px;" class="popup" id="logoUploader">
                    <object width="650" height="470" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="FlashID">
                        <param value="../../flash/avatar.swf?url=http://www.lagou.com/cd/saveProfileLogo.json"
                            name="movie">
                        <param value="high" name="quality">
                        <param value="opaque" name="wmode">
                        <param value="111.0.0.0" name="swfversion">
                        <!-- 此 param 标签提示使用 Flash Player 6.0 r65 和更高版本的用户下载最新版本的 Flash Player。如果您不想让用户看到该提示，请将其删除。 -->
                        <param value="../../Scripts/expressInstall.swf" name="expressinstall">
                        <!-- 下一个对象标签用于非 IE 浏览器。所以使用 IECC 将其从 IE 隐藏。 -->
                        <!--[if !IE]>-->
                        <object width="650" height="470"
                            data="../../flash/avatar.swf?url=http://www.lagou.com/cd/saveProfileLogo.json"
                            type="application/x-shockwave-flash">
                            <!--<![endif]-->
                            <param value="high" name="quality">
                            <param value="opaque" name="wmode">
                            <param value="111.0.0.0" name="swfversion">
                            <param value="../../Scripts/expressInstall.swf" name="expressinstall">
                            <!-- 浏览器将以下替代内容显示给使用 Flash Player 6.0 和更低版本的用户。 -->
                            <div>
                                <h4>此页面上的内容需要较新版本的 Adobe Flash Player。</h4>
                                <p><a href="http://www.adobe.com/go/getflashplayer"><img width="112" height="33"
                                            src="style/images/get_flash_player.gif" alt="获取 Adobe Flash Player"></a></p>
                            </div>
                            <!--[if !IE]>-->
                        </object>
                        <!--<![endif]-->
                    </object>
                </div><!-- #logoUploader -->
            </div>
            <!------------------------------------- end ----------------------------------------->

            <script src="style/js/step1.min.js" type="text/javascript"></script>
            <script>
                var avatar = {};
                avatar.uploadComplate = function (data) {
                    var result = eval('(' + data + ')');
                    if (result.success) {
                        jQuery('#logoShow img').attr("src", ctx + '/' + result.content);
                        jQuery.colorbox.close();
                        jQuery('#logoNo').hide();
                        jQuery('#logoShow').show();
                    }
                };
            </script>
            <div class="clear"></div>
            <input type="hidden" value="13ae35fedd9e45cdb66fb712318d7369" id="resubmitToken">
            <a rel="nofollow" title="回到顶部" id="backtop" style="display: none;"></a>
        </div><!-- end #container -->
    </div><!-- end #body -->
    <div id="footer">
        <div class="wrapper">
            <a rel="nofollow" target="_blank" href="about.html">联系我们</a>
            <a target="_blank" href="http://www.lagou.com/af/zhaopin.html">互联网公司导航</a>
            <a rel="nofollow" target="_blank" href="http://e.weibo.com/lagou720">拉勾微博</a>
            <a rel="nofollow" href="javascript:void(0)" class="footer_qr">拉勾微信<i></i></a>
            <div class="copyright">&copy;2013-2014 Lagou <a
                    href="http://www.miitbeian.gov.cn/state/outPortal/loginPortal.action"
                    target="_blank">京ICP备14023790号-2</a></div>
        </div>
    </div>

    <script src="style/js/core.min.js" type="text/javascript"></script>
    <script src="style/js/popup.min.js" type="text/javascript"></script>

    <!--  -->


    <div id="cboxOverlay" style="display: none;"></div>
    <div id="colorbox" class="" role="dialog" tabindex="-1" style="display: none;">
        <div id="cboxWrapper">
            <div>
                <div id="cboxTopLeft" style="float: left;"></div>
                <div id="cboxTopCenter" style="float: left;"></div>
                <div id="cboxTopRight" style="float: left;"></div>
            </div>
            <div style="clear: left;">
                <div id="cboxMiddleLeft" style="float: left;"></div>
                <div id="cboxContent" style="float: left;">
                    <div id="cboxTitle" style="float: left;"></div>
                    <div id="cboxCurrent" style="float: left;"></div><button type="button"
                        id="cboxPrevious"></button><button type="button" id="cboxNext"></button><button
                        id="cboxSlideshow"></button>
                    <div id="cboxLoadingOverlay" style="float: left;"></div>
                    <div id="cboxLoadingGraphic" style="float: left;"></div>
                </div>
                <div id="cboxMiddleRight" style="float: left;"></div>
            </div>
            <div style="clear: left;">
                <div id="cboxBottomLeft" style="float: left;"></div>
                <div id="cboxBottomCenter" style="float: left;"></div>
                <div id="cboxBottomRight" style="float: left;"></div>
            </div>
        </div>
        <div style="position: absolute; width: 9999px; visibility: hidden; display: none;"></div>
    </div>

</body>
</html>